package com.baasp.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by simon on 2019/5/24.
 */
@ConfigurationProperties(prefix = "gateway")
@Data
public class GatewayConfig {
    private String name; //name要与consul上面的title写的一样

    public String toString() {
        return "name : ["+name+"] ";
    }
}
